import './style/index.css'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import axios from 'axios'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router'
axios.defaults.baseURL = 'http://git.coding-future.com:7777/exam-server'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const pinia = createPinia()
// import { getToken,setToken  } from "@/utils/token.js"
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import './utils/request'
const app = createApp(App)
app.use(pinia)
app.use(router)
app.use(ElementPlus, {
  locale: zhCn  // 使用中文
})

app.mount('#app')